package framework
{

    public interface ICtx
    {
        function register(clazzOrInstance:Object, id:String = null):*;

        function registerInstance(instance:*, id:String = null):*;

        function registerClass(clazz:Class, id:String = null):*;

        function getBean(id:String):*;

        function getBeansByType(clazz:Class):Array;

        function deleteBean(id:String):Boolean;

        function getBeanId(bean:*):String;

        function hasBean(id:String):Boolean;
    }
}